package com.system.service;

import com.system.entity.SysPermission;
import com.system.entity.SysRole;
import com.system.entity.SysUser;

import java.util.List;

public interface ISysUserService {
    SysUser login(String username, String password);

    List<SysRole> getAllRolesByUsername(String username);

    List<SysPermission> getAllPermissionsByUsernae(String username);

}
